//==============================================================================
// Mercenary Archer_Anim.txt
//==============================================================================

import Egyptian_Mercenary_bow_defines_anim.txt

//==============================================================================
define quiver
{
	set hotspot
	{
		version
		{
			Visual attachments n quiver
		}
	}
}

//==============================================================================
define Fire
{
	set hotspot
	{
		version
		{
			Visualparticle SFX A Burning Pitch Arrow
		}
	}
}

//==============================================================================
define HandArrow
{
	SetSelector
	{
		TechLogic none/Flaming Weapons Active
		set hotspot
		{
			version
			{
				Visual Attachments A HandArrow
			}
		}	
		set hotspot
		{
			version
			{
				Visual Attachments A HandArrow
				connect FIRE Fire hotspot
			}
		}
	}
}

//==============================================================================
define Despoiler
{
	set hotspot
	{
		version
		{
			VisualParticle sfx c pixiu glow old
			TimeOffset 3.00
		}
	}
}

//==============================================================================
define Shield
{
	SetSelector
	{
		TechLogic none/Medjay
		set hotspot
		{
			version
			{
				Visual Attachments A Shields Nubian
			}
		}	
		set hotspot
		{
			version
			{
				visual Attachments E Shield Small Iron
				ReplaceTexture Attachments E Shield Copper/Attachments E Shield Iron
				connect hotspot Despoiler hotspot
			}
		}
	}
}

//==============================================================================
define Head
{
	set hotspot
	{
		version
		{
				Visual Infantry E Mercenary Head
		}
	}
}

//==============================================================================
anim Idle
{
	SetSelector none
	{
		set hotspot
		{
			version
			{
				Visual Archer G Toxotes_IdleA
				ReplaceTexture Archer G Toxotes Standard/infantry e mercenary
				connect RightHand bow hotspot
				connect LeftHand HandArrow hotspot
				Connect TopOfHead Head hotspot					
				connect BackChest Shield hotspot
				connect BackChest Quiver hotspot
			}
		}
	}
}

//==============================================================================
anim walk
{
	SetSelector none
	{
		set hotspot
		{
			version
			{
				Visual Archer G Toxotes_WalkA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
				tag FootstepLeft 0.50 true	
				tag FootstepRight 0.00 true	
	//-- end auto generated section
				ReplaceTexture Archer G Toxotes Standard/infantry e mercenary
				connect RightHand bow hotspot
				connect LeftHand HandArrow hotspot
				Connect TopOfHead Head hotspot
				connect BackChest Shield hotspot
				connect BackChest Quiver hotspot
			}
		}
	}
}


//==============================================================================
anim RangedAttack
{
	SetSelector none
	{
		set hotspot
		{
			version
			{
				Visual Archer G Toxotes_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true	
				tag GenericSound 0.40 true	
				tag SpecificSoundSet 0.50 false BowArrow checkVisible 
//-- end auto generated section
				ReplaceTexture Archer G Toxotes Standard/infantry e mercenary
				Connect TopOfHead Head hotspot
				connect RightHand bow hotspot
				connect BackChest Shield hotspot
				connect BackChest Quiver hotspot
			}
		}
	}
}

//==============================================================================
anim Death
{
	SetSelector none
	{
		set hotspot
		{
			version
			{
				Visual Archer G Toxotes_DeathA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag SpecificSoundSet 0.10 false MaleDeath checkVisible 
//-- end auto generated section
				ReplaceTexture Archer G Toxotes Standard/infantry e mercenary
				connect RightHand bow hotspot
				connect LeftHand HandArrow hotspot
				Connect TopOfHead Head hotspot
				connect BackChest Shield hotspot
				connect BackChest Quiver hotspot
			}
		}
	}
}

//==============================================================================
anim Bored
{
	SetSelector none
	{
		set hotspot
		{
			version
			{
				Visual Archer G Toxotes_BoredA
				ReplaceTexture Archer G Toxotes Standard/infantry e mercenary
				connect RightHand bow hotspot
				connect LeftHand HandArrow hotspot
				Connect TopOfHead Head hotspot
				connect BackChest Shield hotspot
				connect BackChest Quiver hotspot
			}
		}
	}
}

//==============================================================================
anim Flail
{
	SetSelector none
	{
		set hotspot
		{
			version
			{
				Visual Archer G Toxotes_FlailA
				ReplaceTexture Archer G Toxotes Standard/infantry e mercenary
				connect RightHand bow hotspot
				connect LeftHand HandArrow hotspot
				Connect TopOfHead Head hotspot
				connect BackChest Shield hotspot
				connect BackChest Quiver hotspot
			}
		}
	}
}
